package com.naishuo.bigevent.service;

import com.naishuo.bigevent.pojo.Article;
import com.naishuo.bigevent.pojo.PageBean;

import java.util.List;

public interface ArticleService {
    void addarticle(Article article);

    PageBean<Article> list(Integer pageNum, Integer pageSize, Integer categoryId, String state);

    List<Article> findAllById(Integer id);

    void updatearticle(Article article);

    void deleteArticle(Integer id);
}
